﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Microsoft.EntityFrameworkCore;
using nERP.Model.Wms;
using nERP.Model;
using nERP.Model.Bas;

namespace nERP.ViewModel.Wms.OtherOutWarehouseDetailVMs
{
    public partial class OtherOutWarehouseDetailBatchVM : BaseBatchVM<OtherOutWarehouseDetail, OtherOutWarehouseDetail_BatchEdit>
    {
        public OtherOutWarehouseDetailBatchVM()
        {
            ListVM = new OtherOutWarehouseDetailListVM();
            LinkedVM = new OtherOutWarehouseDetail_BatchEdit();
        }

        public override bool DoBatchEdit()
        {
            
            return base.DoBatchEdit();
        }
    }

	/// <summary>
    /// Class to define batch edit fields
    /// </summary>
    public class OtherOutWarehouseDetail_BatchEdit : BaseVM
    {

        
        [Display(Name = "_Model._OtherOutWarehouseDetail._Seq")]
        public int? Seq { get; set; }
        [Display(Name = "_Model._OtherOutWarehouseDetail._OtherOutWarehouse")]
        public string OtherOutWarehouseId { get; set; }
        [Display(Name = "_Model._OtherOutWarehouseDetail._Warehouse")]
        public string WarehouseId { get; set; }
        [Display(Name = "_Model._OtherOutWarehouseDetail._Goods")]
        public string GoodsId { get; set; }
        [Display(Name = "_Model._OtherOutWarehouseDetail._GoodsName")]
        public string GoodsName { get; set; }
        [Display(Name = "_Model._OtherOutWarehouseDetail._GoodsSpec")]
        public string GoodsSpec { get; set; }
        [Display(Name = "_Model._OtherOutWarehouseDetail._GoodsUnit")]
        public string GoodsUnit { get; set; }
        [Display(Name = "_Model._OtherOutWarehouseDetail._OtherOutNumber")]
        public decimal? OtherOutNumber { get; set; }
        [Display(Name = "_Model._OtherOutWarehouseDetail._Remark")]
        public string Remark { get; set; }
        [Display(Name = "_Model._OtherOutWarehouseDetail._Status")]
        public dStatusTypeEnum? Status { get; set; }

        protected override void InitVM()
        {
           
        }
    }

}